package com.bk.bands.evaluate;

import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: SG0891787
 * Date: 3/27/12
 * Time: 2:35 PM
 */
public class DolarMapLookup extends DolarEvaluator
{
   Map<String,String> map;

   public DolarMapLookup(Map<String, String> map)
   {
      this.map = map;
   }

   @Override
   public String resolve(String variableName)
   {
      return map.get(variableName);
   }
}
